﻿namespace Mercury.ParticleEngine
{
    using System;

    /// <summary>
    /// Defines the interface for an object which generates random numbers.
    /// </summary>
    public interface IRandomGenerator
    {
        /// <summary>
        /// Gets the next random integer value.
        /// </summary>
        /// <returns>A random positive integer.</returns>
        Int32 NextInteger();

        /// <summary>
        /// Gets the next random single value.
        /// </summary>
        /// <returns>A random single value between 0 and 1.</returns>
        Single NextSingle();
    }
}